Searched refs:namelen (Results 26 - 50 of 310) sorted by relevance

1234567891011>>

/freebsd-current/usr.bin/finger/
H A Dsprint.c55 int sflag, r, namelen; local
95 namelen = MAXREALNAME;
97 --namelen; /* leave space before `*' */
99 pn->name, MAXREALNAME, namelen,
/freebsd-current/lib/libc/gen/
H A Dsysctl.c42 extern int __sysctl(const int *name, u_int namelen, void *oldp,
65 sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, argument
72 retval = __sysctl(name, namelen, oldp, oldlenp, newp, newlen);
84 if (namelen != 2) {
H A Dsysctlbyname.c33 extern int __sysctlbyname(const char *name, size_t namelen, void *oldp,
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx509_vpm.c37 const char *name, size_t namelen)
45 if (namelen == 0 || name == NULL)
46 namelen = name ? strlen(name) : 0;
48 && memchr(name, '\0', namelen > 1 ? namelen - 1 : namelen) != NULL)
50 if (namelen > 0 && name[namelen - 1] == '\0')
51 --namelen;
57 if (name == NULL || namelen
36 int_x509_param_set_hosts(X509_VERIFY_PARAM *vpm, int mode, const char *name, size_t namelen) argument
386 X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *param, const char *name, size_t namelen) argument
392 X509_VERIFY_PARAM_add1_host(X509_VERIFY_PARAM *param, const char *name, size_t namelen) argument
[all...]
/freebsd-current/contrib/unbound/validator/
H A Dval_kentry.c56 size_t s = sizeof(*kk) + kk->namelen;
117 newk->name = regional_alloc_init(region, kkey->name, kkey->namelen);
163 newk->name = memdup(kkey->name, kkey->namelen);
260 uint8_t* name, size_t namelen, uint16_t dclass,
268 (*k)->name = regional_alloc_init(region, name, namelen);
271 (*k)->namelen = namelen;
282 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl,
288 if(!key_entry_setup(region, name, namelen, dclass, &k, &d))
304 uint8_t* name, size_t namelen, uint16_
259 key_entry_setup(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, struct key_entry_key** k, struct key_entry_data** d) argument
281 key_entry_create_null(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, sldns_ede_code reason_bogus, const char* reason, time_t now) argument
303 key_entry_create_rrset(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, struct ub_packed_rrset_key* rrset, uint8_t* sigalg, sldns_ede_code reason_bogus, const char* reason, time_t now) argument
336 key_entry_create_bad(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, sldns_ede_code reason_bogus, const char* reason, time_t now) argument
[all...]
/freebsd-current/sys/contrib/libfdt/
H A Dfdt_wip.c59 const char *name, int namelen,
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
58 fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, const char *name, int namelen, uint32_t idx, const void *val, int len) argument
H A Dfdt_ro.c160 const char *name, int namelen)
170 && fdt_nodename_eq_(fdt, offset, name, namelen))
184 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) argument
186 const char *end = path + namelen;
330 int namelen,
344 name, namelen)) {
360 int namelen, int *lenp)
370 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp,
384 const char *name, int namelen, int *lenp)
389 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, len
159 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) argument
327 fdt_get_property_namelen_(const void *fdt, int offset, const char *name, int namelen, int *lenp, int *poffset) argument
357 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
383 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
442 fdt_get_alias_namelen(const void *fdt, const char *name, int namelen) argument
462 int offset, depth, namelen; local
[all...]
H A Dlibfdt.h351 * @namelen: number of characters of name to consider
354 * namelen characters of name for matching the subnode name. This is
360 const char *name, int namelen);
392 * @namelen: number of characters of path to consider
394 * Identical to fdt_path_offset(), but only consider the first namelen
398 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen);
555 * @namelen: number of characters of name to consider
558 * Identical to fdt_get_property(), but only examine the first namelen
565 int namelen, int *lenp);
647 * @namelen
656 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
[all...]
/freebsd-current/bin/pax/
H A Dcache.c303 int namelen; local
308 if (((namelen = strlen(name)) == 0) || (name[0] == '\0'))
317 ptr = usrtb[st_hash(name, namelen, UNM_SZ)];
331 ptr = usrtb[st_hash(name, namelen, UNM_SZ)] =
367 int namelen; local
372 if (((namelen = strlen(name)) == 0) || (name[0] == '\0'))
381 ptr = grptb[st_hash(name, namelen, GID_SZ)];
394 ptr = grptb[st_hash(name, namelen, GID_SZ)] =
H A Dtables.h76 int namelen; /* file name length */ member in struct:ftm
/freebsd-current/contrib/unbound/iterator/
H A Diter_delegpt.h61 size_t namelen; member in struct:delegpt
103 size_t namelen; member in struct:delegpt_ns
225 * @param namelen: length of name.
234 uint8_t* name, size_t namelen, struct sockaddr_storage* addr,
296 * @param namelen: length of name.
300 size_t namelen);
446 * @param namelen: length of name.
453 int delegpt_add_target_mlc(struct delegpt* dp, uint8_t* name, size_t namelen,
/freebsd-current/sys/fs/nfs/
H A Dnfs_commonacl.c285 nfsrv_buildace(struct nfsrv_descript *nd, u_char *name, int namelen, argument
291 full_len = NFSM_RNDUP(namelen);
383 *tl++ = txdr_unsigned(namelen);
384 if (full_len - namelen)
385 *(tl + (namelen / NFSX_UNSIGNED)) = 0x0;
386 NFSBCOPY(name, (caddr_t)tl, namelen);
399 int isowner, isgroup, namelen, malloced; local
413 namelen = 6;
418 namelen = 6;
422 namelen
[all...]
/freebsd-current/contrib/unbound/services/cache/
H A Dinfra.c79 return sizeof(*key) + sizeof(struct infra_data) + key->namelen
91 if(k1->namelen != k2->namelen) {
92 if(k1->namelen < k2->namelen)
121 return sizeof(*key) + sizeof(struct rate_data) + key->namelen
130 if(k1->namelen != k2->namelen) {
131 if(k1->namelen < k2->namelen)
461 infra_lookup_nottl(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* name, size_t namelen, int wr) argument
506 new_entry(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* name, size_t namelen, time_t tm) argument
783 infra_get_lame_rtt(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* name, size_t namelen, uint16_t qtype, int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow) argument
869 infra_find_ratelimit(struct infra_cache* infra, uint8_t* name, size_t namelen) argument
917 infra_find_ratedata(struct infra_cache* infra, uint8_t* name, size_t namelen, int wr) argument
943 infra_create_ratedata(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow) argument
1050 infra_ratelimit_inc(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow, int backoff, struct query_info* qinfo, struct comm_reply* replylist) argument
1097 infra_ratelimit_dec(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow) argument
1117 infra_ratelimit_exceeded(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow, int backoff) argument
[all...]
/freebsd-current/crypto/openssl/crypto/pkcs12/
H A Dp12_crt.c20 int namelen,
49 int namelen = -1; local
77 name = (char *)X509_alias_get0(cert, &namelen);
85 bag = pkcs12_add_cert_bag(&bags, cert, name, namelen, pkeyid, pkeyidlen);
159 int namelen,
169 if (name != NULL && !PKCS12_add_friendlyname(bag, name, namelen))
188 int namelen = -1; local
195 name = (char *)X509_alias_get0(cert, &namelen);
198 return pkcs12_add_cert_bag(pbags, cert, name, namelen, keyid, keyidlen);
/freebsd-current/sys/fs/cd9660/
H A Dcd9660_lookup.c120 u_short namelen; local
218 namelen = isonum_711(ep->name_len);
222 if (reclen < ISO_DIRECTORY_RECORD_SIZE + namelen)
235 if (namelen == 1
244 if (namelen != 1
248 ep->name, namelen,
275 cd9660_rrip_getname(ep, altname, &namelen, &i_ino, imp);
276 if (namelen == cnp->cn_namelen
277 && !bcmp(name,altname,namelen))
/freebsd-current/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/legacy/
H A Dittnotify.h319 * @return __itt_err upon failure (name or namelen being null,name and namelen
323 int LIBITTAPI __itt_thr_name_setA(const char *name, int namelen);
324 int LIBITTAPI __itt_thr_name_setW(const wchar_t *name, int namelen);
333 int LIBITTAPI __itt_thr_name_set(const char *name, int namelen);
340 ITT_STUB(LIBITTAPI, int, thr_name_setA, (const char *name, int namelen))
341 ITT_STUB(LIBITTAPI, int, thr_name_setW, (const wchar_t *name, int namelen))
343 ITT_STUB(LIBITTAPI, int, thr_name_set, (const char *name, int namelen))
356 #define __itt_thr_name_setA(name, namelen)
358 #define __itt_thr_name_setW(name, namelen)
[all...]
/freebsd-current/stand/userboot/userboot/
H A Dhost.c94 size_t namelen; local
97 rc = CALLBACK(readdir, f->f_fsdata, &fileno, &type, &namelen,
104 d->d_namlen = namelen;
/freebsd-current/sys/fs/tarfs/
H A Dtarfs_vfsops.c275 tarfs_lookup_path(struct tarfs_mount *tmp, char *name, size_t namelen, argument
286 MPASS(name != NULL && namelen != 0);
295 (int)namelen, name);
300 while (name[0] == '/' && namelen > 0)
301 name++, namelen--;
304 if (namelen == 0 || name[0] == '\0') {
306 namelen = do_lookup ? 0 : cn.cn_namelen;
313 (int)tnp->namelen, tnp->name);
320 *sep != '\0' && *sep != '/' && len < namelen;
327 namelen
444 size_t namelen = 0, linklen = 0, realsize = 0, sz; local
[all...]
/freebsd-current/lib/libugidfw/
H A Dugidfw.h46 int bsde_get_mib(const char *string, int *name, size_t *namelen);
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dconfig_winreg.c69 DWORD namelen, datalen, type; local
71 namelen = TNAMELEN;
73 ret = RegEnumValue(bhk, i, name, &namelen, NULL, &type,
85 if (namelen >= TNAMELEN)
86 namelen = TNAMELEN - 1;
87 name[namelen] = TEXT('\0');
323 DWORD namelen, datalen, type; local
325 namelen = 255;
327 ret = RegEnumValue(nhk, i, name, &namelen, NULL, &type,
339 if (namelen >
401 DWORD namelen; local
666 DWORD namelen; local
[all...]
/freebsd-current/usr.bin/mkstr/
H A Dmkstr.c82 size_t namelen; local
97 namelen = strlcpy(name, argv[0], sizeof(name));
98 if (namelen >= sizeof(name)) {
102 np = name + namelen;
105 if (strlcpy(np, argv[0], sizeof(name) - namelen) >=
106 sizeof(name) - namelen) {
/freebsd-current/contrib/flex/src/
H A Dscanopt.c48 int namelen; /* Length of the actual option word, e.g., "--file[=foo]" is 4 */
184 aux->namelen = 0;
189 if (aux->namelen == 0)
190 aux->namelen = (int) (p - pname);
196 if (aux->namelen == 0)
197 aux->namelen = (int) (p - pname);
203 if (aux->namelen == 0)
204 aux->namelen = (int) (p - pname);
617 if (len > s->aux[i].namelen)
625 if (len == s->aux[i].namelen) {
47 int namelen; /* Length of the actual option word, e.g., "--file[=foo]" is 4 */ member in struct:_aux
658 int namelen = 0, arglen = 0; local
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dpap.c89 int namelen, keylen, plen; local
91 namelen = strlen(bundle->cfg.auth.name);
93 plen = namelen + keylen + 2;
94 log_Printf(LogDEBUG, "pap_Req: namelen = %d, keylen = %d\n", namelen, keylen);
104 *cp++ = namelen;
105 memcpy(cp, bundle->cfg.auth.name, namelen);
106 cp += namelen;
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Difiter_getifaddrs.c143 unsigned int namelen; local
190 namelen = strlen(ifa->ifa_name);
191 if (namelen > sizeof(iter->current.name) - 1)
192 namelen = sizeof(iter->current.name) - 1;
195 memcpy(iter->current.name, ifa->ifa_name, namelen);
H A Difiter_sysctl.c169 unsigned int namelen; local
174 namelen = sdl->sdl_nlen;
175 if (namelen > sizeof(iter->current.name) - 1)
176 namelen = sizeof(iter->current.name) - 1;
179 memcpy(iter->current.name, sdl->sdl_data, namelen);

Completed in 282 milliseconds

1234567891011>>