| /netbsd-src/sys/external/isc/libsodium/dist/test/default/ |
| H A D | pwhash_argon2i.c | 89 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv() 92 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv() 141 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv2() 144 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv2() 156 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 160 if (crypto_pwhash_argon2i(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 164 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 168 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 172 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 2, in tv2() 176 if (crypto_pwhash(out, 15, "password", strlen("password"), salt, 3, in tv2() [all …]
|
| H A D | pwhash_argon2id.c | 89 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv() 92 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv() 141 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv2() 144 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv2() 156 if (crypto_pwhash_argon2id(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 160 if (crypto_pwhash_argon2id(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 164 if (crypto_pwhash_argon2id(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 168 if (crypto_pwhash_argon2id(out, sizeof out, "password", strlen("password"), salt, 2, in tv2() 172 if (crypto_pwhash_argon2id(out, 15, "password", strlen("password"), salt, 3, in tv2() 180 assert(crypto_pwhash_argon2id(out, sizeof out, "password", strlen("password"), salt, in tv2() [all …]
|
| H A D | pwhash_scrypt.c | 101 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv() 104 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv() 150 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv2() 153 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv2() 282 out = (char *) sodium_malloc(strlen(tests[i].out) + 1U); in tv3() 284 memcpy(out, tests[i].out, strlen(tests[i].out) + 1U); in tv3() 285 passwd = (char *) sodium_malloc(strlen(tests[i].passwd) + 1U); in tv3() 287 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3() 289 out, passwd, strlen(passwd)) != 0) { in tv3() 312 if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd), in str_tests() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | collctrl.cc | 501 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 503 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 507 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 510 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 512 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 516 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 519 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 522 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 525 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 531 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/makeinfo/ |
| H A D | float.c | 52 num_len = strlen (new->number); in add_new_float() 61 unsigned len = strlen (new->number) + 21; /* that's 64 bits */ in add_new_float() 76 if (strlen (new->section) == 0) in add_new_float() 90 int l = strlen (chapter); in count_floats_of_type_in_chapter() 95 if (strlen (temp->id) > 0 && STREQ (text_expansion (temp->type), type)) in count_floats_of_type_in_chapter() 148 char *s = xmalloc (strlen (temp->type) + strlen (temp->number) + 2); in get_float_ref() 194 int command_len = sizeof ("@ ") + strlen (command) + strlen (float_type); in cm_listoffloats() 222 if (strlen (temp->id) > 0 && STREQ (float_type, temp->type)) in cm_listoffloats() 236 if (strlen (float_type) > 0) in cm_listoffloats() 239 if (strlen (temp->id) > 0) in cm_listoffloats() [all …]
|
| /netbsd-src/external/bsd/ntp/dist/libjsmn/ |
| H A D | jsmn_test.c | 37 && strlen(s) == (t).end - (t).start) 54 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 61 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 68 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 76 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 93 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple() 105 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple() 110 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple() 124 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive() 132 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/test/profile/ |
| H A D | instrprof-bufferio.c | 47 llvmBufferIOWrite(BufferIO, "Short Strings:\n", strlen("Short Strings:\n")); in main() 49 llvmBufferIOWrite(BufferIO, SmallData, strlen(SmallData)); in main() 51 llvmBufferIOWrite(BufferIO, "Long Strings:\n", strlen("Long Strings:\n")); in main() 53 llvmBufferIOWrite(BufferIO, MediumData, strlen(MediumData)); in main() 56 strlen("Extra Long Strings:\n")); in main() 58 llvmBufferIOWrite(BufferIO, LargeData, strlen(LargeData)); in main() 60 llvmBufferIOWrite(BufferIO, "Mixed Strings:\n", strlen("Mixed Strings:\n")); in main() 62 llvmBufferIOWrite(BufferIO, MediumData, strlen(MediumData)); in main() 63 llvmBufferIOWrite(BufferIO, SmallData, strlen(SmallData)); in main() 65 llvmBufferIOWrite(BufferIO, "Endings:\n", strlen("Endings:\n")); in main() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | collctrl.cc | 69 for (int i = ((int) strlen (s)) - 1; i >= 0; i--) in read_str() 527 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 529 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 533 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 536 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 538 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 542 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 545 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 548 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() 551 snprintf (UEbuf + strlen (UEbuf), sizeof (UEbuf) - strlen (UEbuf), in show() [all …]
|
| /netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/ |
| H A D | test.c | 47 ret = argon2_hash(t, 1 << m, p, pwd, strlen(pwd), salt, strlen(salt), out, in hashtest() 56 assert(memcmp(encoded, mcfref, strlen(mcfref)) == 0); in hashtest() 59 ret = argon2_verify(encoded, pwd, strlen(pwd), type); in hashtest() 61 ret = argon2_verify(mcfref, pwd, strlen(pwd), type); in hashtest() 121 "password", strlen("password"), Argon2_i); in main() 128 "password", strlen("password"), Argon2_i); in main() 135 "password", strlen("password"), Argon2_i); in main() 142 "password", strlen("password"), Argon2_i); in main() 201 "password", strlen("password"), Argon2_i); in main() 208 "password", strlen("password"), Argon2_i); in main() [all …]
|
| /netbsd-src/sys/external/bsd/acpica/dist/compiler/ |
| H A D | prutils.c | 207 (2 * (strlen (AslGbl_MacroTokenBuffer)))); in PrReplaceResizeSubstring() 237 Args->Offset[i] = strlen (AslGbl_MacroTokenBuffer) - in PrReplaceResizeSubstring() 238 strlen (temp); in PrReplaceResizeSubstring() 244 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))]))) in PrReplaceResizeSubstring() 250 temp += strlen (Args->Name); in PrReplaceResizeSubstring() 260 b = strlen (Token) + Args->Offset[i]; in PrReplaceResizeSubstring() 273 for (j = 0; j < strlen (AslGbl_MacroTokenBuffer); j++) in PrReplaceResizeSubstring() 277 Buff[strlen (AslGbl_MacroTokenBuffer)] = '\0'; in PrReplaceResizeSubstring() 280 UINT32 len = strlen (Buff); in PrReplaceResizeSubstring() 309 for (k = 0; k < strlen (Buf in PrReplaceResizeSubstring() [all...] |
| H A D | prmacros.c | 139 IdentifierString = UtLocalCalloc (strlen (Identifier) + 1); in PrAddDefine() 142 ReplacementString = UtLocalCalloc (strlen (Replacement) + 1); in PrAddDefine() 294 TokenOffset = Name - AslGbl_MainTokenBuffer + strlen (Name) + 1; in PrAddMacro() 343 TokenOffset = Token - AslGbl_MainTokenBuffer + strlen (Token); in PrAddMacro() 353 Args[i].Name = UtLocalCalloc (strlen (Token) + 1); in PrAddMacro() 447 Body = UtLocalCalloc (strlen (BodyInSource) + 1); in PrAddMacro() 514 Length = Token - MacroStart + strlen (Token) + 1; in PrDoMacroInvocation() 518 AslGbl_MacroTokenBuffer, strlen (AslGbl_MacroTokenBuffer)); in PrDoMacroInvocation() 536 Diff1 = strlen (Args->Name) > strlen (Toke in PrDoMacroInvocation() [all...] |
| H A D | cvcompiler.c | 88 CommentString = UtLocalCacheCalloc (strlen (AslGbl_MsgBuffer) + 1); in CvProcessComment() 103 FinalLineToken = UtLocalCacheCalloc (strlen (LineToken) + 1); in CvProcessComment() 108 if (FinalLineToken[strlen (FinalLineToken) - 1] == 0x0D) in CvProcessComment() 110 FinalLineToken[strlen(FinalLineToken)-1] = 0; in CvProcessComment() 123 for (i = 0; (i < (strlen (LineToken) + 1)) && !CharStart; i++) in CvProcessComment() 133 FinalLineToken = UtLocalCacheCalloc (strlen (LineToken) + 1); in CvProcessComment() 138 if (FinalLineToken[strlen (FinalLineToken) - 1] == 0x0D) in CvProcessComment() 140 FinalLineToken[strlen(FinalLineToken) - 1] = 0; in CvProcessComment() 163 UtLocalCacheCalloc (strlen (CommentString) + in CvProcessComment() 208 CommentString = UtLocalCacheCalloc (strlen (AslGbl_MsgBuffer) + 1); in CvProcessCommentType2() [all …]
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | filename.c | 72 name = p = (char *) ecalloc(strlen(str)+1, sizeof(char)); in shell_unquote() 89 int esclen = (int) strlen(esc); in shell_unquote() 147 int esclen = (int) strlen(esc); in shell_quote() 185 len = (int) strlen(s) + 3; in shell_quote() 228 len = (int) (strlen(dirname) + strlen(filename) + 2); in dirfile() 334 n += (int) strlen(get_filename(ifile)); in fexpand() 370 to += strlen(to); in fexpand() 411 for (slash = s+strlen(s)-1; slash > s; slash--) in fcomplete() 414 len = (int) strlen(s) + 4; in fcomplete() 423 int len = (int) strlen(s) + 2; in fcomplete() [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| H A D | os2compat.c | 59 size_t sl = strlen (root); in nlos2_initialize() 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); in nlos2_initialize() 62 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); in nlos2_initialize() 73 size_t sl = strlen (root); in nlos2_initialize() 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 76 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 87 size_t sl = strlen (root); in nlos2_initialize() 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); in nlos2_initialize() 90 memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); in nlos2_initialize() 96 if (strlen (_nlos2_localedir) <= MAXPATHLEN) in nlos2_initialize()
|
| /netbsd-src/external/gpl2/texinfo/dist/intl/ |
| H A D | os2compat.c | 61 size_t sl = strlen (root); in nlos2_initialize() 62 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); in nlos2_initialize() 64 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); in nlos2_initialize() 75 size_t sl = strlen (root); in nlos2_initialize() 76 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 78 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 89 size_t sl = strlen (root); in nlos2_initialize() 90 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); in nlos2_initialize() 92 memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); in nlos2_initialize() 98 if (strlen (_nlos2_localedir) <= MAXPATHLEN) in nlos2_initialize()
|
| /netbsd-src/external/gpl2/grep/dist/intl/ |
| H A D | os2compat.c | 69 size_t sl = strlen (root); in os2_initialize() 70 _os2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); in os2_initialize() 72 memcpy (_os2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); in os2_initialize() 83 size_t sl = strlen (root); in os2_initialize() 84 _os2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); in os2_initialize() 86 memcpy (_os2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); in os2_initialize() 97 size_t sl = strlen (root); in os2_initialize() 98 _os2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); in os2_initialize() 100 memcpy (_os2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); in os2_initialize() 108 if (strlen (_os2_localedir) <= LOCALEDIR_MAX) in os2_initialize()
|
| /netbsd-src/external/bsd/nvi/dist/cl/ |
| H A D | cl_term.c | 109 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen); in cl_term_init() 111 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 113 CHAR2INT(sp, tkp->output, strlen(tkp->output), wp, wlen); in cl_term_init() 115 if (seq_set(sp, name, strlen(tkp->name), ts, strlen(t), in cl_term_init() 116 output, strlen(tkp->output), SEQ_COMMAND, in cl_term_init() 130 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen); in cl_term_init() 132 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 135 if (seq_set(sp, name, strlen(tkp->name), ts, strlen(t), in cl_term_init() 154 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen); in cl_term_init() 156 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() [all …]
|
| /netbsd-src/share/examples/refuse/ian/ian/ |
| H A D | ian.c | 82 virtdir_add(&ian, newurl, strlen(newurl), 'd', "", strlen("")); in getfile() 86 virtdir_add(&ian, newurl, strlen(newurl), 'd', "", strlen("")); in getfile() 94 virtdir_add(&ian, newurl, strlen(newurl), 'd', "", strlen("")); in getfile() 119 virtdir_add(&ian, newurl, strlen(newurl), 'f', tmpname, strlen(tmpname)); in getfile() 139 if ((ep = virtdir_find(&ian, path + 1, strlen(path) - 1)) == NULL) { in ian_getattr() 143 ep = virtdir_find(&ian, path + 1, strlen(path) - 1); in ian_getattr() 199 if ((ep = virtdir_find(&ian, path + 1, strlen(path) - 1)) == NULL) { in ian_read() 231 if ((ep = virtdir_find(&ian, path, strlen(path))) == NULL) { in ian_readlink() 272 virtdir_add(&ian, "ftp:", strlen("ftp:"), 'd', "", 0); in main() 273 virtdir_add(&ian, "http:", strlen("http:"), 'd', "", 0); in main() [all …]
|
| /netbsd-src/sys/arch/bebox/stand/boot/ |
| H A D | devopen.c | 59 if (strncmp(fname, devdir, strlen(devdir)) != 0) in devparse() 61 p = __UNCONST(fname) + strlen(devdir); in devparse() 63 if (strncmp(p, floppy, strlen(floppy)) == 0) { in devparse() 64 p += strlen(floppy); in devparse() 73 } else if (strncmp(p, ide, strlen(ide)) == 0) { in devparse() 77 p += strlen(ide); in devparse() 83 if (strncmp(p, master, strlen(master)) == 0) { in devparse() 85 p += strlen(master); in devparse() 86 } else if (strncmp(p, slave, strlen(slave)) == 0) { in devparse() 88 p += strlen(slave); in devparse() [all …]
|
| /netbsd-src/sys/arch/usermode/usermode/ |
| H A D | machdep.c | 159 if (strncmp(argv[i], "net=", strlen("net=")) == 0) { in main() 160 char *tap = argv[i] + strlen("net="); in main() 170 memcpy(p, "/dev/", strlen("/dev/")); in main() 171 p += strlen("/dev/"); in main() 178 strlen("audio=")) == 0) { in main() 179 char *audio = argv[i] + strlen("audio="); in main() 191 strlen("vnc=")) == 0) { in main() 192 char *vnc = argv[i] + strlen("vnc="); in main() 211 strlen("disk=")) == 0) { in main() 221 argv[i] + strlen("disk="); in main() [all …]
|
| /netbsd-src/sbin/mount_portal/ |
| H A D | pt_filter.c | 71 strncat(tempbuff, " ", n - strlen(tempbuff)); in fill_cmd() 72 strncat(tempbuff, cmdv[i], n - strlen(tempbuff)); in fill_cmd() 74 strncat(tempbuff, " ", n - strlen(tempbuff)); in fill_cmd() 122 if (!v[3] || strlen(v[3]) == 0) in portal_rfilter() 126 if (!strncmp(v[1], key, strlen(v[1]))) in portal_rfilter() 127 path += strlen(v[1]); in portal_rfilter() 134 if (strlen(cmd) >= FILTER_CMD_SIZE) { in portal_rfilter() 137 (unsigned long)strlen(cmd)); in portal_rfilter() 175 path = key + (v[1] ? strlen(v[1]) : 0); in portal_wfilter() 181 if (strlen(cmd) >= FILTER_CMD_SIZE) { in portal_wfilter() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | infodoc.c | 196 unsigned prefix_len = strlen (prefix); 250 if ((desired_doc_start + strlen (doc)) 362 replace_in_documentation (strlen (function_doc_array[i].doc) 388 node->nodelen = 1 + strlen (contents); 591 return replace_in_documentation ((strlen (doc) == 0) ? doc : (char *) _(doc), 0); 727 (10 + strlen (keyname) + strlen (fundoc) + strlen (funname)); 810 if (term_kP && strncmp(keyseq, term_kP, strlen(term_kP)) == 0) 813 keyseq += strlen(term_kP); 815 else if (term_kN && strncmp(keyseq, term_kN, strlen(term_kN)) == 0) 818 keyseq += strlen(term_kN); [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| H A D | csharpcomp.c | 130 if (strlen (source_file) >= 10 in compile_csharp_using_pnet() 131 && memcmp (source_file + strlen (source_file) - 10, ".resources", in compile_csharp_using_pnet() 134 char *option = (char *) xallocsa (12 + strlen (source_file) + 1); in compile_csharp_using_pnet() 224 char *option = (char *) xallocsa (5 + strlen (output_file) + 1); in compile_csharp_using_mono() 231 char *option = (char *) xallocsa (5 + strlen (libdirs[i]) + 1); in compile_csharp_using_mono() 238 char *option = (char *) xallocsa (11 + strlen (libraries[i]) + 4 + 1); in compile_csharp_using_mono() 240 memcpy (option + 11, libraries[i], strlen (libraries[i])); in compile_csharp_using_mono() 241 strcpy (option + 11 + strlen (libraries[i]), ".dll"); in compile_csharp_using_mono() 249 if (strlen (source_file) >= 10 in compile_csharp_using_mono() 250 && memcmp (source_file + strlen (source_file) - 10, ".resources", in compile_csharp_using_mono() [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | test_addr.c | 58 printf("addr %d: %s (%d/%d)\n", i, buf, (int)len, (int)strlen(buf)); in print_addr() 60 if (strlen(buf) > sizeof(buf)) in print_addr() 62 (int)strlen(buf), (int)sizeof(buf)); in print_addr() 65 printf("addr %d: %s (%d/%d)\n", i, buf2, (int)len, (int)strlen(buf2)); in print_addr() 67 if (strlen(buf2) > sizeof(buf2)) in print_addr() 69 (int)strlen(buf2), (int)sizeof(buf2)); in print_addr() 97 printf("addr %s (%d/%d) should be %d\n", buf, (int)len, (int)strlen(buf), (int)outlen); in truncated_addr() 100 if (truncate_len > strlen(buf) + 1) in truncated_addr() 102 buf, (int)truncate_len, (int)strlen(buf), addr); in truncated_addr() 106 buf, (int)outlen, (int)strlen(buf)); in truncated_addr() [all …]
|
| /netbsd-src/external/bsd/unbound/dist/dnstap/ |
| H A D | dnstap_fstrm.c | 61 n = 4+4+4+4+4+strlen(contenttype); in fstrm_create_control_frame_start() 66 control[1] = htonl(4+4+4+strlen(contenttype)); in fstrm_create_control_frame_start() 69 control[4] = htonl(strlen(contenttype)); in fstrm_create_control_frame_start() 70 memmove(&control[5], contenttype, strlen(contenttype)); in fstrm_create_control_frame_start() 108 n = 4+4+4+4+4+strlen(contenttype); in fstrm_create_control_frame_ready() 114 control[1] = htonl(4+4+4+strlen(contenttype)); in fstrm_create_control_frame_ready() 117 control[4] = htonl(strlen(contenttype)); in fstrm_create_control_frame_ready() 118 memmove(&control[5], contenttype, strlen(contenttype)); in fstrm_create_control_frame_ready() 136 n = 4+4+4+4+4+strlen(contenttype); in fstrm_create_control_frame_accept() 142 control[1] = htonl(4+4+4+strlen(contenttype)); in fstrm_create_control_frame_accept() [all …]
|