Searched refs:string_size (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/tcpdump/ |
H A D | util-print.c | 539 size_t space_left = sizeof(buf), string_size; in bittok2str_internal() local 547 string_size = strlcpy(bufp, sepstr, space_left); in bittok2str_internal() 548 if (string_size >= space_left) in bittok2str_internal() 550 bufp += string_size; in bittok2str_internal() 551 space_left -= string_size; in bittok2str_internal() 554 string_size = strlcpy(bufp, lp->s, space_left); in bittok2str_internal() 555 if (string_size >= space_left) in bittok2str_internal() 557 bufp += string_size; in bittok2str_internal() 558 space_left -= string_size; in bittok2str_internal()
|
/freebsd/sys/compat/linux/ |
H A D | linux_util.c | 264 int current_size = 0, string_size = 1024; in translate_vnhook_major_minor() 266 string = malloc(string_size, M_LINUX, M_WAITOK); 280 >= string_size) { in linux_get_char_devices() 281 string_size *= 2; in linux_get_char_devices() 282 string = malloc(string_size, in linux_get_char_devices() 272 int current_size = 0, string_size = 1024; linux_get_char_devices() local
|
/freebsd/usr.bin/gencat/ |
H A D | gencat.c | 479 int string_size; /* total size of string pool */ local 495 string_size = 0; 504 string_size += strlen(msg->str) + 1; 511 printf("string pool size: %d\n", string_size); 519 + string_size;
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | putshell.c | 44 string_size(char const * scan, size_t nl_len) in string_size() function 109 size_t out_sz = string_size(text, nl_len); in optionQuoteString()
|
H A D | proto.h | 414 string_size(char const * scan, size_t nl_len);
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | NativeProcessProtocol.cpp | 685 size_t string_size; in ReadCStringFromMemory() local 714 string_size = total_bytes_read - 1; in ReadCStringFromMemory() 725 return llvm::StringRef(buffer, string_size); in ReadCStringFromMemory()
|
/freebsd/contrib/libpcap/ |
H A D | gencode.c | 6774 stringtoport(compiler_state_t *cstate, const char *string, size_t string_size, in stringtoport() argument 6786 ret = stoulen(string, string_size, &val, cstate); in stringtoport() 6800 cpy = malloc(string_size + 1); /* +1 for terminating '\0' */ in stringtoport() 6801 memcpy(cpy, string, string_size); in stringtoport() 6802 cpy[string_size] = '\0'; in stringtoport()
|