|   /src/common/lib/libc/string/ | 
| strnlen.c  | 49 	size_t len;  local in function:strnlen  51 	for (len = 0; len < maxlen; len++, s++) { 55 	return (len);
  | 
| strstr.c  | 59 	size_t len;  local in function:strstr  62 		len = strlen(find); 68 		} while (strncmp(s, find, len) != 0);
  | 
|   /src/lib/libc/ssp/ | 
| stpcpy_chk.c  | 48 	size_t len = strlen(src);  local in function:__stpcpy_chk  50 	if (len >= slen) 53 	if (__ssp_overlap(src, dst, len)) 56 	(void)memcpy(dst, src, len + 1); 57 	return dst + len;
  | 
| strcpy_chk.c  | 46 	size_t len = strlen(src) + 1;  local in function:__strcpy_chk  48 	if (len > slen) 51 	if (__ssp_overlap(src, dst, len)) 54 	return memcpy(dst, src, len);
  | 
| gets_chk.c  | 50 	size_t len;  local in function:__gets_chk  63 	len = strlen(abuf); 64 	if (len > 0 && abuf[len - 1] == '\n') 65 		--len; 67 	if (len >= slen) 70 	(void)memcpy(buf, abuf, len); 72 	buf[len] = '\0';
  | 
|   /src/bin/setfacl/ | 
| file.c  | 52 	size_t len;  local in function:get_acl_from_file  69 	len = fread(buf, (size_t)1, sizeof(buf) - 1, file); 70 	buf[len] = '\0';
  | 
|   /src/lib/libc/compat/gen/ | 
| compat_lastlogx.c  | 69 	size_t len;  local in function:lastlogxname  73 	len = strlen(fname); 75 	if (len >= sizeof(llfile)) 79 	if (fname[len - 1] != 'x')
  | 
|   /src/lib/libc/gen/ | 
| getentropy.c  | 53 	size_t len = buflen;  local in function:getentropy  66 	return sysctl(name, 2, buf, &len, NULL, 0);
  | 
| uname.c  | 57 	size_t len;  local in function:__weak_alias  64 	len = sizeof(name->sysname); 65 	if (sysctl(mib, 2, &name->sysname, &len, NULL, 0) == -1) 70 	len = sizeof(name->nodename); 71 	if (sysctl(mib, 2, &name->nodename, &len, NULL, 0) == -1) 76 	len = sizeof(name->release); 77 	if (sysctl(mib, 2, &name->release, &len, NULL, 0) == -1) 82 	len = sizeof(name->version); 83 	if (sysctl(mib, 2, &name->version, &len, NULL, 0) == -1) { 96 	for (p = name->version; len--; ++p)      [all...] | 
|   /src/lib/libc/locale/ | 
| wcsxfrm.c  | 47 	size_t len;  local in function:wcsxfrm_l  52 	len = wcslen(s2); 53 	if (len<n) 64 	return (len);
  | 
|   /src/lib/libc/net/ | 
| getpeereid.c  | 49 	socklen_t len;  local in function:getpeereid  51 	len = sizeof(ss); 52 	if (getsockname(s, (void *)&ss, &len) == -1) 59 	len = sizeof(cred); 60 	if (getsockopt(s, SOL_LOCAL, LOCAL_PEEREID, &cred, &len) == -1)
  | 
|   /src/lib/libc/string/ | 
| strcasestr.c  | 52 	size_t len;  local in function:strcasestr  59 		len = strlen(find); 65 		} while (strncasecmp(s, find, len) != 0);
  | 
| strdup.c  | 55 	size_t len;  local in function:__weak_alias  60 	len = strlen(str) + 1; 61 	if (!(copy = malloc(len))) 63 	memcpy(copy, str, len);
  | 
| strndup.c  | 60 	size_t len;  local in function:__weak_alias  65 	for (len = 0; len < n && str[len]; len++) 68 	if (!(copy = malloc(len + 1))) 70 	memcpy(copy, str, len); 71 	copy[len] = '\0';
  | 
| strnstr.c  | 56 	size_t len;  local in function:strnstr  59 		len = strlen(find); 65 			if (len > slen) 67 		} while (strncmp(s, find, len) != 0);
  | 
| wcsdup.c  | 32 	size_t len;  local in function:__weak_alias  36 	len = wcslen(str) + 1; 39 	errno = reallocarr(©, len, sizeof(*copy)); 43 	return wmemcpy(copy, str, len);
  | 
|   /src/sys/arch/hpc/stand/hpcboot/ | 
| file.cpp  | 66 	size_t len = WideCharToMultiByte(CP_ACP, 0, w, wcslen(w), 0, 0, 0, 0);  local in function:File::_to_ascii  67 	if (len + 1 > mlen) { 69 		    len + 1, mlen)); 72 	int ret = WideCharToMultiByte(CP_ACP, 0, w, len, m, len, 0, 0); 77 	m[len] = '\0';
  | 
|   /src/sys/arch/ia64/stand/common/ | 
| strdup.c  | 52 	size_t len;  local in function:strdup  56 	    len = strlen(str) + 1; 57 	    if ((copy = alloc(len)) == NULL) 59 	    memcpy(copy, str, len);
  | 
|   /src/sys/lib/libsa/ | 
| snprintf.c  | 44 	int len;  local in function:snprintf  47 	len = vsnprintf(buf, size, fmt, ap); 49 	return len;
  | 
|   /src/tests/lib/libc/arch/powerpc/ | 
| exec_prot_support.c  | 43 	size_t len = sizeof(execprot);  local in function:exec_prot_support  45 	if (sysctlbyname("machdep.execprot", &execprot, &len, NULL, 0) < 0)
  | 
|   /src/tests/lib/libc/ssp/ | 
| h_fgets.c  | 41 	int len = atoi(argv[1]);  local in function:main  42 	(void)fgets(b, len, stdin);
  | 
| h_getcwd.c  | 43 	size_t len = atoi(argv[1]);  local in function:main  44 	(void)getcwd(b, len);
  | 
| h_memcpy.c  | 42 	int len = atoi(argv[1]);  local in function:main  44 	(void)memcpy(b, "1020202020202", len); 45 	(void)printf("%*.*s\n", len, len, b);
  | 
| h_memmove.c  | 42 	int len =  atoi(argv[1]);  local in function:main  44 	(void)memmove(b, "1020202020202", len); 45 	(void)printf("%*.*s\n", len, len, b);
  | 
| h_memset.c  | 42 	size_t len =  atoi(argv[1]);  local in function:main  43 	(void)memset(b, 0, len);
  |