Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 25 of 126) sorted by relevance

123456

/openbsd/src/regress/lib/libtls/verify/
Dverifytest.c30 int name_len; member
178 .name_len = -1,
183 .name_len = -1,
195 .name_len = -1,
200 .name_len = -1,
212 .name_len = -1,
217 .name_len = -1,
229 .name_len = -1,
234 .name_len = -1,
247 .name_len = -1,
[all …]
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp282 uptr name_len = internal_strlen(binary_name_cache_str); in ReadBinaryNameCached() local
283 name_len = (name_len < buf_len - 1) ? name_len : buf_len - 1; in ReadBinaryNameCached()
286 internal_memcpy(buf, binary_name_cache_str, name_len); in ReadBinaryNameCached()
287 buf[name_len] = '\0'; in ReadBinaryNameCached()
288 return name_len; in ReadBinaryNameCached()
294 uptr name_len = exec_name_pos - buf; in ReadBinaryDir() local
295 buf[name_len] = '\0'; in ReadBinaryDir()
296 return name_len; in ReadBinaryDir()
Dsanitizer_file.cpp212 uptr name_len = internal_strlen(name); in FindPathToBinary() local
218 if (prefix_len + name_len + 2 <= kMaxPathLength) { in FindPathToBinary()
221 internal_memcpy(&buffer[prefix_len + 1], name, name_len); in FindPathToBinary()
222 buffer[prefix_len + 1 + name_len] = '\0'; in FindPathToBinary()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
D920928-4.c85 long int name_len; member
109 sizeof(struct {long int name_len; sec_rgy_name_t name;}),
110 …ned long int) ((unsigned char *) &((struct {long int name_len; sec_rgy_name_t name;} *)0)->name_len
112 …(unsigned long int) ((unsigned char *) &((struct {long int name_len; sec_rgy_name_t name;} *)0)->n…
/openbsd/src/usr.sbin/acme-client/
Drevokeproc.c159 int name_len; in revokeproc() local
171 name_len = ASN1_STRING_length(name); in revokeproc()
174 if ((size_t)name_len != strlen(alts[j])) in revokeproc()
176 if (memcmp(name_buf, alts[j], name_len) == 0) in revokeproc()
183 visbuf = calloc(4, name_len + 1); in revokeproc()
188 strvisx(visbuf, name_buf, name_len, VIS_SAFE); in revokeproc()
200 certfile, name_len, name_buf); in revokeproc()
/openbsd/src/gnu/usr.sbin/mkhybrid/src/diag/
Disoinfo.c278 len -= idr->name_len[0]; in dump_rr()
282 pnt += idr->name_len[0]; in dump_rr()
283 if((idr->name_len[0] & 1) == 0){ in dump_rr()
418 if(idr->name_len[0] == 1 && idr->name[0] == 0) in parse_dir()
420 else if(idr->name_len[0] == 1 && idr->name[0] == 1) in parse_dir()
433 for(i=0; i < idr->name_len[0] / 2; i++) in parse_dir()
437 name_buf[idr->name_len[0]/2] = '\0'; in parse_dir()
444 strncpy(name_buf, idr->name, idr->name_len[0]); in parse_dir()
445 name_buf[idr->name_len[0]] = 0; in parse_dir()
458 && (idr->name_len[0] != 1 in parse_dir()
[all …]
Disodump.c127 unsigned char name_len [ISODCL (33, 33)]; /* 711 */ member
327 len -= idr->name_len[0]; in dump_rr()
331 pnt += idr->name_len[0]; in dump_rr()
332 if((idr->name_len[0] & 1) == 0){ in dump_rr()
360 if(idr->name_len[0] == 1 && idr->name[0] == 0) in showblock()
362 else if(idr->name_len[0] == 1 && idr->name[0] == 1) in showblock()
365 for(j=0; j<idr->name_len[0]; j++) printf("%c", idr->name[j]); in showblock()
366 for(j=0; j<14 -idr->name_len[0]; j++) printf(" "); in showblock()
Disovfy.c81 unsigned char name_len [ISODCL (33, 33)]; /* 711 */ member
152 len -= idr->name_len[0]; in dump_rr()
155 pnt += idr->name_len[0]; in dump_rr()
157 if((idr->name_len[0] & 1) == 0){ in dump_rr()
351 if(idr->name_len[0] > 33) in check_tree()
354 idr->name_len[0], goof++); in check_tree()
357 else if(idr->name_len[0] == 1 && idr->name[0] == 0) { in check_tree()
371 } else if(idr->name_len[0] == 1 && idr->name[0] == 1) { in check_tree()
391 for(j=0; j<idr->name_len[0]; j++) in check_tree()
395 for(j=0; j<14 - (int) idr->name_len[0]; j++) in check_tree()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
Dzerolen-1.c7 unsigned char name_len [1]; member
21 if (de->u.name_len[0] == 1 && de->u.name[0] == 0) in main()
/openbsd/src/usr.sbin/pppd/
Dchap.c646 int chal_len, name_len; in ChapSendChallenge() local
650 name_len = strlen(cstate->chal_name); in ChapSendChallenge()
651 outlen = CHAP_HEADERLEN + sizeof (u_char) + chal_len + name_len; in ChapSendChallenge()
664 BCOPY(cstate->chal_name, outp, name_len); /* append hostname */ in ChapSendChallenge()
739 int outlen, md_len, name_len; in ChapSendResponse() local
742 name_len = strlen(cstate->resp_name); in ChapSendResponse()
743 outlen = CHAP_HEADERLEN + sizeof (u_char) + md_len + name_len; in ChapSendResponse()
756 BCOPY(cstate->resp_name, outp, name_len); /* append our name */ in ChapSendResponse()
/openbsd/src/sys/dev/pci/drm/
Ddrm_ioc32.c83 u32 name_len; /* Length of name buffer */ member
104 .name_len = v32.name_len, in compat_drm_version()
119 v32.name_len = v.name_len; in compat_drm_version()
/openbsd/src/gnu/usr.sbin/mkhybrid/src/
Dmulti.c424 rlen -= idr->name_len[0]; in FDECL2()
425 cpnt += idr->name_len[0]; in FDECL2()
427 if((idr->name_len[0] & 1) == 0){ in FDECL2()
444 cpnt += idr->name_len[0]; in FDECL2()
445 memset(cpnt, 0, sizeof((*pnt)->isorec.name) - idr->name_len[0]); in FDECL2()
449 if( ((*pnt)->isorec.name_len[0] == 1) in FDECL2()
521 rlen = isonum_711((*pnt)->isorec.name_len); in FDECL2()
637 if( ptr[i]->name != NULL && ptr[i]->isorec.name_len[0] == 1 in FDECL6()
642 if( ptr[i]->name != NULL && ptr[i]->isorec.name_len[0] == 1 in FDECL6()
Diso9660.h147 unsigned char name_len[2]; /* 721 */ member
163 unsigned char name_len [ISODCL (33, 33)]; /* 711 */ member
Dwrite.c417 if((*r)->isorec.name_len[0] == 1 && *rpnt == 0) return -1; /* '.' */ in FDECL2()
418 if((*l)->isorec.name_len[0] == 1 && *lpnt == 0) return 1; in FDECL2()
420 if((*r)->isorec.name_len[0] == 1 && *rpnt == 1) return -1; /* '..' */ in FDECL2()
421 if((*l)->isorec.name_len[0] == 1 && *lpnt == 1) return 1; in FDECL2()
496 len = s_entry->isorec.name_len[0]; in FDECL1()
553 root_record.name_len[0] = 1; in root_gen()
868 sizeof(s_entry->isorec.name) + s_entry->isorec.name_len[0]); in FDECL2()
870 sizeof (s_entry->isorec.name)+ s_entry->isorec.name_len[0]; in FDECL2()
1114 namelen = de->isorec.name_len[0]; in generate_path_tables()
/openbsd/src/gnu/usr.bin/gcc/gcc/intl/
Dl10nflist.c348 _nl_normalize_codeset (codeset, name_len) in _nl_normalize_codeset() argument
350 size_t name_len;
358 for (cnt = 0; cnt < name_len; ++cnt)
376 for (cnt = 0; cnt < name_len; ++cnt)
/openbsd/src/gnu/usr.bin/binutils-2.17/intl/
Dl10nflist.c354 _nl_normalize_codeset (codeset, name_len) in _nl_normalize_codeset() argument
356 size_t name_len;
364 for (cnt = 0; cnt < name_len; ++cnt)
382 for (cnt = 0; cnt < name_len; ++cnt)
/openbsd/src/gnu/usr.bin/binutils/intl/
Dl10nflist.c354 _nl_normalize_codeset (codeset, name_len) in _nl_normalize_codeset() argument
356 size_t name_len;
364 for (cnt = 0; cnt < name_len; ++cnt)
382 for (cnt = 0; cnt < name_len; ++cnt)
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dfix-header.c745 int name_len; in write_rbrac() local
747 for ( ; (name_len = strlen (cptr)) != 0; cptr+= name_len + 1) in write_rbrac()
754 fn = lookup_std_proto (cptr, name_len); in write_rbrac()
1151 int name_len; local
1155 for ( ; (name_len = strlen (cptr)) != 0; cptr+= name_len + 1)
1157 struct fn_decl *fn = lookup_std_proto (cptr, name_len);
/openbsd/src/gnu/gcc/gcc/
Dfix-header.c766 int name_len; in write_rbrac() local
768 for ( ; (name_len = strlen (cptr)) != 0; cptr+= name_len + 1) in write_rbrac()
775 fn = lookup_std_proto (cptr, name_len); in write_rbrac()
1160 int name_len; in main() local
1164 for ( ; (name_len = strlen (cptr)) != 0; cptr+= name_len + 1) in main()
1166 struct fn_decl *fn = lookup_std_proto (cptr, name_len); in main()
/openbsd/src/gnu/gcc/intl/
Dl10nflist.c396 _nl_normalize_codeset (codeset, name_len) in _nl_normalize_codeset() argument
398 size_t name_len;
406 for (cnt = 0; cnt < name_len; ++cnt)
424 for (cnt = 0; cnt < name_len; ++cnt)
/openbsd/src/usr.sbin/slowcgi/
Dslowcgi.c703 uint32_t name_len, val_len; in parse_params() local
726 name_len = buf[0]; in parse_params()
731 name_len = ((buf[0] & 0x7f) << 24) + in parse_params()
757 if (n < name_len + val_len) in parse_params()
765 if ((env_entry->val = calloc(sizeof(char), name_len + val_len + in parse_params()
772 bcopy(buf, env_entry->val, name_len); in parse_params()
773 buf += name_len; in parse_params()
774 n -= name_len; in parse_params()
776 env_entry->val[name_len] = '\0'; in parse_params()
786 env_entry->val[name_len] = '='; in parse_params()
[all …]
/openbsd/src/usr.sbin/unbound/iterator/
Diter_priv.c191 uint8_t* name, size_t name_len, uint16_t dclass) in priv_lookup_name() argument
196 if(name_len >= sizeof(decomp)) in priv_lookup_name()
200 log_assert(name_len == len); in priv_lookup_name()
/openbsd/src/sbin/unwind/libunbound/iterator/
Diter_priv.c191 uint8_t* name, size_t name_len, uint16_t dclass) in priv_lookup_name() argument
196 if(name_len >= sizeof(decomp)) in priv_lookup_name()
200 log_assert(name_len == len); in priv_lookup_name()
/openbsd/src/usr.sbin/tcpdump/
Dprivsep.c637 priv_ether_ntohost(char *name, size_t name_len, struct ether_addr *e) in priv_ether_ntohost() argument
646 return (read_string(priv_fd, name, name_len, __func__)); in priv_ether_ntohost()
674 priv_getserventry(char *name, size_t name_len, int *port, char *prot, in priv_getserventry() argument
681 if (read_string(priv_fd, name, name_len, __func__) == 0) in priv_getserventry()
704 priv_getprotoentry(char *name, size_t name_len, int *num) in priv_getprotoentry() argument
710 if (read_string(priv_fd, name, name_len, __func__) == 0) in priv_getprotoentry()
/openbsd/src/gnu/usr.bin/texinfo/intl/
Dl10nflist.c368 _nl_normalize_codeset (const char *codeset, size_t name_len) in _nl_normalize_codeset() argument
376 for (cnt = 0; cnt < name_len; ++cnt) in _nl_normalize_codeset()
394 for (cnt = 0; cnt < name_len; ++cnt) in _nl_normalize_codeset()

123456